package com.atguigu.guli.service.sms.service;

import com.aliyuncs.exceptions.ClientException;
import com.atguigu.guli.service.base.result.R;
import org.springframework.stereotype.Service;

/**
 * @author Miluo
 * @description 短信服务业务层
 **/

public interface SmsService {
    /**
     * 发送短信
     * @param mobile 电话号码
     * @param checkCode 验证码
     * @throws ClientException
     */
    void send(String mobile, String checkCode) throws ClientException, ClientException;
}
